package com.itools.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.LinkedHashSet;

/**
 * @project: itools-backend
 * @description: 用于配置不需要保护的资源路径
 * @author: XUCHANG
 * @create: 2021-06-22 15:41
 */
@Data
@ConfigurationProperties(prefix = "secure.ignored")
@Configuration
public class IgnoreUrlsConfig {

    private LinkedHashSet<String> shouldSkipUrls = new LinkedHashSet<>();

}
